"""
    字符串工具类
"""


class StringUtils:
    @staticmethod
    def is_blank(string):
        """
        判断字符串是否为空
        :param string: 待比较字符串
        :return:
        """
        return string is None or string.strip() == ''

    @staticmethod
    def is_not_blank(string):
        """
        判断字符串是否不为空
        :param string: 待比较字符串
        :return:
        """
        return not StringUtils.is_blank(string)




